package com.mandala.entry;


import java.util.List;

import javax.naming.Name;

import org.springframework.ldap.odm.annotations.Attribute;
import org.springframework.ldap.odm.annotations.Entry;
import org.springframework.ldap.odm.annotations.Id;

import com.fasterxml.jackson.annotation.JsonIgnore;

@Entry(objectClasses = {"organizationalUnit","top"},base = "ou=org")
public class Org {
	 @Id
	 @JsonIgnore
	 private Name dn;
	 
	 @Attribute(name="level")
	 private String level;
	 
	 @Attribute(name="code")
	 private String code;
	 
	 @Attribute(name="resourceName")
	 private String resourceName;
	 
	 @Attribute(name="telephoneNumber")
	 private String telephoneNumber;
	 
	 @Attribute(name="order")
	 private String order;
	 
	 @Attribute(name="ou")
	 private String ou;
	 
	 @Attribute(name="parentId")
	 private String parentId;
	 
	 @Attribute(name="levelCode")
	 private String levelCode;
	 
	 @Attribute(name="status")
	 private String status;
	 
	 @Attribute(name="isDelete")
	 private String isDelete;
	 
	 @Attribute(name="address")
	 private String address;
	 
	 @Attribute(name="description")
	 private String description;
	 
	 

	public Name getDn() {
		return dn;
	}

	public void setDn(Name dn) {
		this.dn = dn;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getTelephoneNumber() {
		return telephoneNumber;
	}

	public void setTelephoneNumber(String telephoneNumber) {
		this.telephoneNumber = telephoneNumber;
	}

	public String getOu() {
		return ou;
	}

	public void setOu(String ou) {
		this.ou = ou;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getLevelCode() {
		return levelCode;
	}

	public void setLevelCode(String levelCode) {
		this.levelCode = levelCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}


	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	
	 
	
	 
	
}
